/*
 * ItemList.java
 *
 * Created on September 18, 2007, 10:57 AM
 */

package jia.editor.lists;

import jia.editor.EditorMain;
import jia.tools.PanelSwapper;

/**
 *
 * @author  estell
 */
public class pnl_ItemList extends javax.swing.JPanel {
    
    /** Creates new form ItemList */
    public pnl_ItemList() {
        initComponents();
        //call various methods that will populate the tables.  This is so that
        //the data is loaded once, and then no longer needs to be called back to
        //the database until a modification of a sepecific row occurs
    }
    
    /** This method is called from within the constructor to
     * initialize the form.
     * WARNING: Do NOT modify this code. The content of this method is
     * always regenerated by the Form Editor.
     */
    // <editor-fold defaultstate="collapsed" desc=" Generated Code ">//GEN-BEGIN:initComponents
    private void initComponents() {
        jPopupMenu1 = new javax.swing.JPopupMenu();
        jMenuItem1 = new javax.swing.JMenuItem();
        jMenuItem2 = new javax.swing.JMenuItem();
        jTabbedPane1 = new javax.swing.JTabbedPane();
        pnl_Weapons = new javax.swing.JPanel();
        jTabbedPane4 = new javax.swing.JTabbedPane();
        jSplitPane9 = new javax.swing.JSplitPane();
        jScrollPane25 = new javax.swing.JScrollPane();
        jTextPane9 = new javax.swing.JTextPane();
        jScrollPane33 = new javax.swing.JScrollPane();
        jTable17 = new javax.swing.JTable();
        jSplitPane10 = new javax.swing.JSplitPane();
        jScrollPane21 = new javax.swing.JScrollPane();
        jTable13 = new javax.swing.JTable();
        jScrollPane26 = new javax.swing.JScrollPane();
        jTextPane10 = new javax.swing.JTextPane();
        jSplitPane11 = new javax.swing.JSplitPane();
        jScrollPane22 = new javax.swing.JScrollPane();
        jTable14 = new javax.swing.JTable();
        jScrollPane27 = new javax.swing.JScrollPane();
        jTextPane11 = new javax.swing.JTextPane();
        jSplitPane12 = new javax.swing.JSplitPane();
        jScrollPane23 = new javax.swing.JScrollPane();
        jTable15 = new javax.swing.JTable();
        jScrollPane28 = new javax.swing.JScrollPane();
        jTextPane12 = new javax.swing.JTextPane();
        jSplitPane13 = new javax.swing.JSplitPane();
        jScrollPane24 = new javax.swing.JScrollPane();
        jTable16 = new javax.swing.JTable();
        jScrollPane29 = new javax.swing.JScrollPane();
        jTextPane13 = new javax.swing.JTextPane();
        jSplitPane17 = new javax.swing.JSplitPane();
        jScrollPane20 = new javax.swing.JScrollPane();
        jTable12 = new javax.swing.JTable();
        jScrollPane34 = new javax.swing.JScrollPane();
        jTextPane17 = new javax.swing.JTextPane();
        jButton3 = new javax.swing.JButton();
        jButton4 = new javax.swing.JButton();
        jPanel3 = new javax.swing.JPanel();
        jButton7 = new javax.swing.JButton();
        pnl_ClothingArmor = new javax.swing.JPanel();
        jTabbedPane2 = new javax.swing.JTabbedPane();
        jSplitPane1 = new javax.swing.JSplitPane();
        jScrollPane1 = new javax.swing.JScrollPane();
        jTable1 = new javax.swing.JTable();
        jScrollPane2 = new javax.swing.JScrollPane();
        jTextPane1 = new javax.swing.JTextPane();
        jSplitPane2 = new javax.swing.JSplitPane();
        jScrollPane3 = new javax.swing.JScrollPane();
        jTable2 = new javax.swing.JTable();
        jScrollPane13 = new javax.swing.JScrollPane();
        jTextPane2 = new javax.swing.JTextPane();
        jSplitPane3 = new javax.swing.JSplitPane();
        jScrollPane4 = new javax.swing.JScrollPane();
        jTable3 = new javax.swing.JTable();
        jScrollPane14 = new javax.swing.JScrollPane();
        jTextPane3 = new javax.swing.JTextPane();
        jSplitPane4 = new javax.swing.JSplitPane();
        jScrollPane5 = new javax.swing.JScrollPane();
        jTable4 = new javax.swing.JTable();
        jScrollPane15 = new javax.swing.JScrollPane();
        jTextPane4 = new javax.swing.JTextPane();
        jSplitPane5 = new javax.swing.JSplitPane();
        jScrollPane6 = new javax.swing.JScrollPane();
        jTable5 = new javax.swing.JTable();
        jScrollPane16 = new javax.swing.JScrollPane();
        jTextPane5 = new javax.swing.JTextPane();
        jSplitPane6 = new javax.swing.JSplitPane();
        jScrollPane7 = new javax.swing.JScrollPane();
        jTable6 = new javax.swing.JTable();
        jScrollPane17 = new javax.swing.JScrollPane();
        jTextPane6 = new javax.swing.JTextPane();
        jSplitPane7 = new javax.swing.JSplitPane();
        jScrollPane8 = new javax.swing.JScrollPane();
        jTable7 = new javax.swing.JTable();
        jScrollPane18 = new javax.swing.JScrollPane();
        jTextPane7 = new javax.swing.JTextPane();
        jSplitPane8 = new javax.swing.JSplitPane();
        jScrollPane12 = new javax.swing.JScrollPane();
        jTable8 = new javax.swing.JTable();
        jScrollPane19 = new javax.swing.JScrollPane();
        jTextPane8 = new javax.swing.JTextPane();
        jPanel1 = new javax.swing.JPanel();
        jButton5 = new javax.swing.JButton();
        jButton6 = new javax.swing.JButton();
        pnl_Jewelry = new javax.swing.JPanel();
        jTabbedPane3 = new javax.swing.JTabbedPane();
        jSplitPane14 = new javax.swing.JSplitPane();
        jScrollPane9 = new javax.swing.JScrollPane();
        jTable9 = new javax.swing.JTable();
        jScrollPane30 = new javax.swing.JScrollPane();
        jTextPane14 = new javax.swing.JTextPane();
        jSplitPane15 = new javax.swing.JSplitPane();
        jScrollPane10 = new javax.swing.JScrollPane();
        jTable10 = new javax.swing.JTable();
        jScrollPane31 = new javax.swing.JScrollPane();
        jTextPane15 = new javax.swing.JTextPane();
        jSplitPane16 = new javax.swing.JSplitPane();
        jScrollPane11 = new javax.swing.JScrollPane();
        jTable11 = new javax.swing.JTable();
        jScrollPane32 = new javax.swing.JScrollPane();
        jTextPane16 = new javax.swing.JTextPane();
        jButton1 = new javax.swing.JButton();
        jButton2 = new javax.swing.JButton();
        jPanel2 = new javax.swing.JPanel();
        pnl_Consume = new javax.swing.JPanel();
        pnl_Ammo = new javax.swing.JPanel();
        btn_Cancel = new javax.swing.JButton();

        jPopupMenu1.setAutoscrolls(true);
        jPopupMenu1.setLabel("");
        jPopupMenu1.setLightWeightPopupEnabled(false);
        jMenuItem1.setText("Edit Selected Row");
        jPopupMenu1.add(jMenuItem1);

        jMenuItem2.setText("Delete Selected Row");
        jPopupMenu1.add(jMenuItem2);

        setMaximumSize(new java.awt.Dimension(800, 580));
        setMinimumSize(new java.awt.Dimension(800, 580));
        jTabbedPane1.setBorder(javax.swing.BorderFactory.createTitledBorder(javax.swing.BorderFactory.createEmptyBorder(1, 1, 1, 1), java.util.ResourceBundle.getBundle("jia_ui/images/formUI").getString("title_Items"), javax.swing.border.TitledBorder.LEFT, javax.swing.border.TitledBorder.BELOW_TOP));
        jTabbedPane1.setTabPlacement(javax.swing.JTabbedPane.BOTTOM);
        jSplitPane9.setDividerLocation(300);
        jSplitPane9.setDividerSize(7);
        jSplitPane9.setOrientation(javax.swing.JSplitPane.VERTICAL_SPLIT);
        jSplitPane9.setMaximumSize(new java.awt.Dimension(454, 433));
        jSplitPane9.setMinimumSize(new java.awt.Dimension(454, 433));
        jSplitPane9.setOneTouchExpandable(true);
        jTextPane9.setEditable(false);
        jScrollPane25.setViewportView(jTextPane9);

        jSplitPane9.setRightComponent(jScrollPane25);

        jTable17.setComponentPopupMenu(jPopupMenu1);
        jTable17.setModel(new javax.swing.table.DefaultTableModel(
            new Object [][] {
                {"Longsword of Meteoric Stunning Names", "Medium", "Martial", "1D8", "5GP", null},
                {null, null, null, null, null, null},
                {null, null, null, null, null, null},
                {null, null, null, null, null, null}
            },
            new String [] {
                "Name", "Size", "Type", "Damage", "Cost", "Magical"
            }
        ) {
            Class[] types = new Class [] {
                java.lang.Object.class, java.lang.Object.class, java.lang.Object.class, java.lang.Object.class, java.lang.Object.class, java.lang.Boolean.class
            };
            boolean[] canEdit = new boolean [] {
                false, false, false, false, false, false
            };

            public Class getColumnClass(int columnIndex) {
                return types [columnIndex];
            }

            public boolean isCellEditable(int rowIndex, int columnIndex) {
                return canEdit [columnIndex];
            }
        });
        jTable17.setAutoResizeMode(javax.swing.JTable.AUTO_RESIZE_NEXT_COLUMN);
        jTable17.setGridColor(new java.awt.Color(204, 204, 204));
        jScrollPane33.setViewportView(jTable17);

        jSplitPane9.setTopComponent(jScrollPane33);

        jTabbedPane4.addTab("Swords", new javax.swing.ImageIcon(getClass().getResource("/jia_ui/images/shield.png")), jSplitPane9);

        jSplitPane10.setDividerLocation(300);
        jSplitPane10.setDividerSize(7);
        jSplitPane10.setOrientation(javax.swing.JSplitPane.VERTICAL_SPLIT);
        jSplitPane10.setMaximumSize(new java.awt.Dimension(454, 433));
        jSplitPane10.setMinimumSize(new java.awt.Dimension(454, 433));
        jSplitPane10.setOneTouchExpandable(true);
        jTable13.setModel(new javax.swing.table.DefaultTableModel(
            new Object [][] {
                {null, null, null, null},
                {null, null, null, null},
                {null, null, null, null},
                {null, null, null, null}
            },
            new String [] {
                "Title 1", "Title 2", "Title 3", "Title 4"
            }
        ));
        jScrollPane21.setViewportView(jTable13);

        jSplitPane10.setTopComponent(jScrollPane21);

        jTextPane10.setEditable(false);
        jScrollPane26.setViewportView(jTextPane10);

        jSplitPane10.setRightComponent(jScrollPane26);

        jTabbedPane4.addTab("Axes", jSplitPane10);

        jSplitPane11.setDividerLocation(300);
        jSplitPane11.setDividerSize(7);
        jSplitPane11.setOrientation(javax.swing.JSplitPane.VERTICAL_SPLIT);
        jSplitPane11.setMaximumSize(new java.awt.Dimension(454, 433));
        jSplitPane11.setMinimumSize(new java.awt.Dimension(454, 433));
        jSplitPane11.setOneTouchExpandable(true);
        jTable14.setModel(new javax.swing.table.DefaultTableModel(
            new Object [][] {
                {null, null, null, null},
                {null, null, null, null},
                {null, null, null, null},
                {null, null, null, null}
            },
            new String [] {
                "Title 1", "Title 2", "Title 3", "Title 4"
            }
        ));
        jScrollPane22.setViewportView(jTable14);

        jSplitPane11.setTopComponent(jScrollPane22);

        jTextPane11.setEditable(false);
        jScrollPane27.setViewportView(jTextPane11);

        jSplitPane11.setRightComponent(jScrollPane27);

        jTabbedPane4.addTab("Polearms", jSplitPane11);

        jSplitPane12.setDividerLocation(300);
        jSplitPane12.setDividerSize(7);
        jSplitPane12.setOrientation(javax.swing.JSplitPane.VERTICAL_SPLIT);
        jSplitPane12.setMaximumSize(new java.awt.Dimension(454, 433));
        jSplitPane12.setMinimumSize(new java.awt.Dimension(454, 433));
        jSplitPane12.setOneTouchExpandable(true);
        jTable15.setModel(new javax.swing.table.DefaultTableModel(
            new Object [][] {
                {null, null, null, null},
                {null, null, null, null},
                {null, null, null, null},
                {null, null, null, null}
            },
            new String [] {
                "Title 1", "Title 2", "Title 3", "Title 4"
            }
        ));
        jScrollPane23.setViewportView(jTable15);

        jSplitPane12.setTopComponent(jScrollPane23);

        jTextPane12.setEditable(false);
        jScrollPane28.setViewportView(jTextPane12);

        jSplitPane12.setRightComponent(jScrollPane28);

        jTabbedPane4.addTab("Maces & Staves", jSplitPane12);

        jSplitPane13.setDividerLocation(300);
        jSplitPane13.setDividerSize(7);
        jSplitPane13.setOrientation(javax.swing.JSplitPane.VERTICAL_SPLIT);
        jSplitPane13.setMaximumSize(new java.awt.Dimension(454, 433));
        jSplitPane13.setMinimumSize(new java.awt.Dimension(454, 433));
        jSplitPane13.setOneTouchExpandable(true);
        jTable16.setModel(new javax.swing.table.DefaultTableModel(
            new Object [][] {
                {null, null, null, null},
                {null, null, null, null},
                {null, null, null, null},
                {null, null, null, null}
            },
            new String [] {
                "Title 1", "Title 2", "Title 3", "Title 4"
            }
        ));
        jScrollPane24.setViewportView(jTable16);

        jSplitPane13.setTopComponent(jScrollPane24);

        jTextPane13.setEditable(false);
        jScrollPane29.setViewportView(jTextPane13);

        jSplitPane13.setRightComponent(jScrollPane29);

        jTabbedPane4.addTab("Misc.", jSplitPane13);

        jSplitPane17.setDividerLocation(300);
        jSplitPane17.setDividerSize(7);
        jSplitPane17.setOrientation(javax.swing.JSplitPane.VERTICAL_SPLIT);
        jSplitPane17.setMaximumSize(new java.awt.Dimension(454, 433));
        jSplitPane17.setMinimumSize(new java.awt.Dimension(454, 433));
        jSplitPane17.setOneTouchExpandable(true);
        jTable12.setModel(new javax.swing.table.DefaultTableModel(
            new Object [][] {
                {null, null, null, null},
                {null, null, null, null},
                {null, null, null, null},
                {null, null, null, null}
            },
            new String [] {
                "Title 1", "Title 2", "Title 3", "Title 4"
            }
        ));
        jScrollPane20.setViewportView(jTable12);

        jSplitPane17.setTopComponent(jScrollPane20);

        jScrollPane34.setViewportView(jTextPane17);

        jSplitPane17.setRightComponent(jScrollPane34);

        jTabbedPane4.addTab("Ranged", jSplitPane17);

        jButton3.setIcon(new javax.swing.ImageIcon(getClass().getResource("/jia_ui/images/add.png")));
        jButton3.setText("Add");
        jButton3.setMaximumSize(new java.awt.Dimension(132, 30));
        jButton3.setMinimumSize(new java.awt.Dimension(132, 30));
        jButton3.setPreferredSize(new java.awt.Dimension(132, 30));

        jButton4.setIcon(new javax.swing.ImageIcon(getClass().getResource("/jia_ui/images/pencil.png")));
        jButton4.setText("Edit");
        jButton4.setMaximumSize(new java.awt.Dimension(132, 30));
        jButton4.setMinimumSize(new java.awt.Dimension(132, 30));
        jButton4.setPreferredSize(new java.awt.Dimension(132, 30));

        jPanel3.setBorder(javax.swing.BorderFactory.createEtchedBorder());
        org.jdesktop.layout.GroupLayout jPanel3Layout = new org.jdesktop.layout.GroupLayout(jPanel3);
        jPanel3.setLayout(jPanel3Layout);
        jPanel3Layout.setHorizontalGroup(
            jPanel3Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
            .add(0, 131, Short.MAX_VALUE)
        );
        jPanel3Layout.setVerticalGroup(
            jPanel3Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
            .add(0, 143, Short.MAX_VALUE)
        );

        jButton7.setIcon(new javax.swing.ImageIcon(getClass().getResource("/jia_ui/images/delete.png")));
        jButton7.setText("Delete");
        jButton7.setMaximumSize(new java.awt.Dimension(132, 30));
        jButton7.setMinimumSize(new java.awt.Dimension(132, 30));
        jButton7.setPreferredSize(new java.awt.Dimension(132, 30));

        org.jdesktop.layout.GroupLayout pnl_WeaponsLayout = new org.jdesktop.layout.GroupLayout(pnl_Weapons);
        pnl_Weapons.setLayout(pnl_WeaponsLayout);
        pnl_WeaponsLayout.setHorizontalGroup(
            pnl_WeaponsLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
            .add(org.jdesktop.layout.GroupLayout.TRAILING, pnl_WeaponsLayout.createSequentialGroup()
                .addContainerGap()
                .add(jTabbedPane4, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 604, Short.MAX_VALUE)
                .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
                .add(pnl_WeaponsLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                    .add(jPanel3, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                    .add(jButton3, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 135, Short.MAX_VALUE)
                    .add(jButton4, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 135, Short.MAX_VALUE)
                    .add(jButton7, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))
                .addContainerGap())
        );
        pnl_WeaponsLayout.setVerticalGroup(
            pnl_WeaponsLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
            .add(pnl_WeaponsLayout.createSequentialGroup()
                .addContainerGap()
                .add(pnl_WeaponsLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.TRAILING)
                    .add(org.jdesktop.layout.GroupLayout.LEADING, pnl_WeaponsLayout.createSequentialGroup()
                        .add(jPanel3, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                        .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
                        .add(jButton3, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                        .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
                        .add(jButton4, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                        .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
                        .add(jButton7, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))
                    .add(org.jdesktop.layout.GroupLayout.LEADING, jTabbedPane4, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 463, Short.MAX_VALUE))
                .addContainerGap())
        );
        jTabbedPane1.addTab("Weapons", pnl_Weapons);

        jSplitPane1.setDividerLocation(300);
        jSplitPane1.setDividerSize(7);
        jSplitPane1.setOrientation(javax.swing.JSplitPane.VERTICAL_SPLIT);
        jSplitPane1.setOneTouchExpandable(true);
        jTable1.setModel(new javax.swing.table.DefaultTableModel(
            new Object [][] {
                {null, null, null, null},
                {null, null, null, null},
                {null, null, null, null},
                {null, null, null, null}
            },
            new String [] {
                "Title 1", "Title 2", "Title 3", "Title 4"
            }
        ));
        jScrollPane1.setViewportView(jTable1);

        jSplitPane1.setTopComponent(jScrollPane1);

        jTextPane1.setEditable(false);
        jScrollPane2.setViewportView(jTextPane1);

        jSplitPane1.setRightComponent(jScrollPane2);

        jTabbedPane2.addTab("Helms", jSplitPane1);

        jSplitPane2.setDividerLocation(300);
        jSplitPane2.setDividerSize(7);
        jSplitPane2.setOrientation(javax.swing.JSplitPane.VERTICAL_SPLIT);
        jSplitPane2.setOneTouchExpandable(true);
        jTable2.setModel(new javax.swing.table.DefaultTableModel(
            new Object [][] {
                {null, null, null, null},
                {null, null, null, null},
                {null, null, null, null},
                {null, null, null, null}
            },
            new String [] {
                "Title 1", "Title 2", "Title 3", "Title 4"
            }
        ));
        jScrollPane3.setViewportView(jTable2);

        jSplitPane2.setTopComponent(jScrollPane3);

        jTextPane2.setEditable(false);
        jScrollPane13.setViewportView(jTextPane2);

        jSplitPane2.setRightComponent(jScrollPane13);

        jTabbedPane2.addTab("Gloves", jSplitPane2);

        jSplitPane3.setDividerLocation(300);
        jSplitPane3.setDividerSize(7);
        jSplitPane3.setOrientation(javax.swing.JSplitPane.VERTICAL_SPLIT);
        jSplitPane3.setOneTouchExpandable(true);
        jTable3.setModel(new javax.swing.table.DefaultTableModel(
            new Object [][] {
                {null, null, null, null},
                {null, null, null, null},
                {null, null, null, null},
                {null, null, null, null}
            },
            new String [] {
                "Title 1", "Title 2", "Title 3", "Title 4"
            }
        ));
        jScrollPane4.setViewportView(jTable3);

        jSplitPane3.setTopComponent(jScrollPane4);

        jTextPane3.setEditable(false);
        jScrollPane14.setViewportView(jTextPane3);

        jSplitPane3.setRightComponent(jScrollPane14);

        jTabbedPane2.addTab("Cloaks", jSplitPane3);

        jSplitPane4.setDividerLocation(300);
        jSplitPane4.setDividerSize(7);
        jSplitPane4.setOrientation(javax.swing.JSplitPane.VERTICAL_SPLIT);
        jSplitPane4.setOneTouchExpandable(true);
        jTable4.setModel(new javax.swing.table.DefaultTableModel(
            new Object [][] {
                {null, null, null, null},
                {null, null, null, null},
                {null, null, null, null},
                {null, null, null, null}
            },
            new String [] {
                "Title 1", "Title 2", "Title 3", "Title 4"
            }
        ));
        jScrollPane5.setViewportView(jTable4);

        jSplitPane4.setTopComponent(jScrollPane5);

        jTextPane4.setEditable(false);
        jScrollPane15.setViewportView(jTextPane4);

        jSplitPane4.setRightComponent(jScrollPane15);

        jTabbedPane2.addTab("Chest", jSplitPane4);

        jSplitPane5.setDividerLocation(300);
        jSplitPane5.setDividerSize(7);
        jSplitPane5.setOrientation(javax.swing.JSplitPane.VERTICAL_SPLIT);
        jSplitPane5.setOneTouchExpandable(true);
        jTable5.setModel(new javax.swing.table.DefaultTableModel(
            new Object [][] {
                {null, null, null, null},
                {null, null, null, null},
                {null, null, null, null},
                {null, null, null, null}
            },
            new String [] {
                "Title 1", "Title 2", "Title 3", "Title 4"
            }
        ));
        jScrollPane6.setViewportView(jTable5);

        jSplitPane5.setTopComponent(jScrollPane6);

        jTextPane5.setEditable(false);
        jScrollPane16.setViewportView(jTextPane5);

        jSplitPane5.setRightComponent(jScrollPane16);

        jTabbedPane2.addTab("Belts", jSplitPane5);

        jSplitPane6.setDividerLocation(300);
        jSplitPane6.setDividerSize(7);
        jSplitPane6.setOrientation(javax.swing.JSplitPane.VERTICAL_SPLIT);
        jSplitPane6.setOneTouchExpandable(true);
        jTable6.setModel(new javax.swing.table.DefaultTableModel(
            new Object [][] {
                {null, null, null, null},
                {null, null, null, null},
                {null, null, null, null},
                {null, null, null, null}
            },
            new String [] {
                "Title 1", "Title 2", "Title 3", "Title 4"
            }
        ));
        jScrollPane7.setViewportView(jTable6);

        jSplitPane6.setTopComponent(jScrollPane7);

        jTextPane6.setEditable(false);
        jScrollPane17.setViewportView(jTextPane6);

        jSplitPane6.setRightComponent(jScrollPane17);

        jTabbedPane2.addTab("Legs", jSplitPane6);

        jSplitPane7.setDividerLocation(300);
        jSplitPane7.setDividerSize(7);
        jSplitPane7.setOrientation(javax.swing.JSplitPane.VERTICAL_SPLIT);
        jSplitPane7.setOneTouchExpandable(true);
        jTable7.setModel(new javax.swing.table.DefaultTableModel(
            new Object [][] {
                {null, null, null, null},
                {null, null, null, null},
                {null, null, null, null},
                {null, null, null, null}
            },
            new String [] {
                "Title 1", "Title 2", "Title 3", "Title 4"
            }
        ));
        jScrollPane8.setViewportView(jTable7);

        jSplitPane7.setTopComponent(jScrollPane8);

        jTextPane7.setEditable(false);
        jScrollPane18.setViewportView(jTextPane7);

        jSplitPane7.setRightComponent(jScrollPane18);

        jTabbedPane2.addTab("Boots", jSplitPane7);

        jSplitPane8.setDividerLocation(300);
        jSplitPane8.setDividerSize(7);
        jSplitPane8.setOrientation(javax.swing.JSplitPane.VERTICAL_SPLIT);
        jSplitPane8.setOneTouchExpandable(true);
        jTable8.setModel(new javax.swing.table.DefaultTableModel(
            new Object [][] {
                {null, null, null, null},
                {null, null, null, null},
                {null, null, null, null},
                {null, null, null, null}
            },
            new String [] {
                "Name", "Class", "Required Level", "AC Bonus"
            }
        ) {
            boolean[] canEdit = new boolean [] {
                false, false, false, false
            };

            public boolean isCellEditable(int rowIndex, int columnIndex) {
                return canEdit [columnIndex];
            }
        });
        jScrollPane12.setViewportView(jTable8);

        jSplitPane8.setTopComponent(jScrollPane12);

        jTextPane8.setEditable(false);
        jScrollPane19.setViewportView(jTextPane8);

        jSplitPane8.setRightComponent(jScrollPane19);

        jTabbedPane2.addTab("Shoulders", jSplitPane8);

        jPanel1.setBorder(javax.swing.BorderFactory.createEtchedBorder());
        org.jdesktop.layout.GroupLayout jPanel1Layout = new org.jdesktop.layout.GroupLayout(jPanel1);
        jPanel1.setLayout(jPanel1Layout);
        jPanel1Layout.setHorizontalGroup(
            jPanel1Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
            .add(0, 137, Short.MAX_VALUE)
        );
        jPanel1Layout.setVerticalGroup(
            jPanel1Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
            .add(0, 132, Short.MAX_VALUE)
        );

        jButton5.setText("jButton5");

        jButton6.setText("jButton6");

        org.jdesktop.layout.GroupLayout pnl_ClothingArmorLayout = new org.jdesktop.layout.GroupLayout(pnl_ClothingArmor);
        pnl_ClothingArmor.setLayout(pnl_ClothingArmorLayout);
        pnl_ClothingArmorLayout.setHorizontalGroup(
            pnl_ClothingArmorLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
            .add(org.jdesktop.layout.GroupLayout.TRAILING, pnl_ClothingArmorLayout.createSequentialGroup()
                .addContainerGap()
                .add(jTabbedPane2, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 598, Short.MAX_VALUE)
                .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
                .add(pnl_ClothingArmorLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                    .add(jPanel1, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                    .add(jButton6, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 141, Short.MAX_VALUE)
                    .add(jButton5, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 141, Short.MAX_VALUE))
                .addContainerGap())
        );
        pnl_ClothingArmorLayout.setVerticalGroup(
            pnl_ClothingArmorLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
            .add(pnl_ClothingArmorLayout.createSequentialGroup()
                .add(pnl_ClothingArmorLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                    .add(pnl_ClothingArmorLayout.createSequentialGroup()
                        .add(27, 27, 27)
                        .add(jTabbedPane2, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 456, Short.MAX_VALUE))
                    .add(org.jdesktop.layout.GroupLayout.TRAILING, pnl_ClothingArmorLayout.createSequentialGroup()
                        .add(48, 48, 48)
                        .add(jPanel1, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                        .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED, 247, Short.MAX_VALUE)
                        .add(jButton6)
                        .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
                        .add(jButton5)))
                .addContainerGap())
        );
        jTabbedPane1.addTab("Clothing / Armor", pnl_ClothingArmor);

        jSplitPane14.setDividerLocation(300);
        jSplitPane14.setDividerSize(7);
        jSplitPane14.setOrientation(javax.swing.JSplitPane.VERTICAL_SPLIT);
        jSplitPane14.setOneTouchExpandable(true);
        jTable9.setModel(new javax.swing.table.DefaultTableModel(
            new Object [][] {
                {null, null, null, null},
                {null, null, null, null},
                {null, null, null, null},
                {null, null, null, null}
            },
            new String [] {
                "Title 1", "Title 2", "Title 3", "Title 4"
            }
        ));
        jScrollPane9.setViewportView(jTable9);

        jSplitPane14.setTopComponent(jScrollPane9);

        jScrollPane30.setViewportView(jTextPane14);

        jSplitPane14.setRightComponent(jScrollPane30);

        jTabbedPane3.addTab("tab2", jSplitPane14);

        jSplitPane15.setDividerLocation(300);
        jSplitPane15.setDividerSize(7);
        jSplitPane15.setOrientation(javax.swing.JSplitPane.VERTICAL_SPLIT);
        jSplitPane15.setOneTouchExpandable(true);
        jTable10.setModel(new javax.swing.table.DefaultTableModel(
            new Object [][] {
                {null, null, null, null},
                {null, null, null, null},
                {null, null, null, null},
                {null, null, null, null}
            },
            new String [] {
                "Title 1", "Title 2", "Title 3", "Title 4"
            }
        ));
        jScrollPane10.setViewportView(jTable10);

        jSplitPane15.setTopComponent(jScrollPane10);

        jScrollPane31.setViewportView(jTextPane15);

        jSplitPane15.setRightComponent(jScrollPane31);

        jTabbedPane3.addTab("tab2", jSplitPane15);

        jSplitPane16.setDividerLocation(300);
        jSplitPane16.setDividerSize(7);
        jSplitPane16.setOrientation(javax.swing.JSplitPane.VERTICAL_SPLIT);
        jSplitPane16.setOneTouchExpandable(true);
        jTable11.setModel(new javax.swing.table.DefaultTableModel(
            new Object [][] {
                {null, null, null, null},
                {null, null, null, null},
                {null, null, null, null},
                {null, null, null, null}
            },
            new String [] {
                "Title 1", "Title 2", "Title 3", "Title 4"
            }
        ));
        jScrollPane11.setViewportView(jTable11);

        jSplitPane16.setTopComponent(jScrollPane11);

        jScrollPane32.setViewportView(jTextPane16);

        jSplitPane16.setRightComponent(jScrollPane32);

        jTabbedPane3.addTab("tab3", jSplitPane16);

        jButton1.setText("jButton1");

        jButton2.setText("jButton2");

        jPanel2.setBorder(javax.swing.BorderFactory.createEtchedBorder());
        org.jdesktop.layout.GroupLayout jPanel2Layout = new org.jdesktop.layout.GroupLayout(jPanel2);
        jPanel2.setLayout(jPanel2Layout);
        jPanel2Layout.setHorizontalGroup(
            jPanel2Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
            .add(0, 138, Short.MAX_VALUE)
        );
        jPanel2Layout.setVerticalGroup(
            jPanel2Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
            .add(0, 143, Short.MAX_VALUE)
        );

        org.jdesktop.layout.GroupLayout pnl_JewelryLayout = new org.jdesktop.layout.GroupLayout(pnl_Jewelry);
        pnl_Jewelry.setLayout(pnl_JewelryLayout);
        pnl_JewelryLayout.setHorizontalGroup(
            pnl_JewelryLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
            .add(pnl_JewelryLayout.createSequentialGroup()
                .addContainerGap()
                .add(jTabbedPane3, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 589, Short.MAX_VALUE)
                .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
                .add(pnl_JewelryLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                    .add(jButton2, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 150, Short.MAX_VALUE)
                    .add(jButton1, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 150, Short.MAX_VALUE)
                    .add(org.jdesktop.layout.GroupLayout.TRAILING, jPanel2, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))
                .addContainerGap())
        );
        pnl_JewelryLayout.setVerticalGroup(
            pnl_JewelryLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
            .add(org.jdesktop.layout.GroupLayout.TRAILING, pnl_JewelryLayout.createSequentialGroup()
                .add(pnl_JewelryLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.TRAILING)
                    .add(org.jdesktop.layout.GroupLayout.LEADING, pnl_JewelryLayout.createSequentialGroup()
                        .addContainerGap()
                        .add(jTabbedPane3, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 446, Short.MAX_VALUE))
                    .add(pnl_JewelryLayout.createSequentialGroup()
                        .add(31, 31, 31)
                        .add(jPanel2, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                        .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED, 227, Short.MAX_VALUE)
                        .add(jButton1)
                        .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
                        .add(jButton2)))
                .addContainerGap())
        );
        jTabbedPane1.addTab("Jewelry", pnl_Jewelry);

        org.jdesktop.layout.GroupLayout pnl_ConsumeLayout = new org.jdesktop.layout.GroupLayout(pnl_Consume);
        pnl_Consume.setLayout(pnl_ConsumeLayout);
        pnl_ConsumeLayout.setHorizontalGroup(
            pnl_ConsumeLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
            .add(0, 765, Short.MAX_VALUE)
        );
        pnl_ConsumeLayout.setVerticalGroup(
            pnl_ConsumeLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
            .add(0, 468, Short.MAX_VALUE)
        );
        jTabbedPane1.addTab("Consumable", pnl_Consume);

        org.jdesktop.layout.GroupLayout pnl_AmmoLayout = new org.jdesktop.layout.GroupLayout(pnl_Ammo);
        pnl_Ammo.setLayout(pnl_AmmoLayout);
        pnl_AmmoLayout.setHorizontalGroup(
            pnl_AmmoLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
            .add(0, 765, Short.MAX_VALUE)
        );
        pnl_AmmoLayout.setVerticalGroup(
            pnl_AmmoLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
            .add(0, 468, Short.MAX_VALUE)
        );
        jTabbedPane1.addTab("Ammunition", pnl_Ammo);

        btn_Cancel.setIcon(new javax.swing.ImageIcon(getClass().getResource("/jia_ui/images/door_out.png")));
        btn_Cancel.setText(java.util.ResourceBundle.getBundle("jia_ui/images/formUI").getString("btn_Cancel_lbl"));
        btn_Cancel.setToolTipText(java.util.ResourceBundle.getBundle("jia_ui/images/formUI").getString("btn_Cancel"));
        btn_Cancel.setMaximumSize(new java.awt.Dimension(132, 30));
        btn_Cancel.setMinimumSize(new java.awt.Dimension(132, 30));
        btn_Cancel.setPreferredSize(new java.awt.Dimension(132, 30));
        btn_Cancel.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                btn_CancelActionPerformed(evt);
            }
        });

        org.jdesktop.layout.GroupLayout layout = new org.jdesktop.layout.GroupLayout(this);
        this.setLayout(layout);
        layout.setHorizontalGroup(
            layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
            .add(org.jdesktop.layout.GroupLayout.TRAILING, layout.createSequentialGroup()
                .addContainerGap()
                .add(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.TRAILING)
                    .add(org.jdesktop.layout.GroupLayout.LEADING, jTabbedPane1, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 780, Short.MAX_VALUE)
                    .add(btn_Cancel, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))
                .addContainerGap())
        );
        layout.setVerticalGroup(
            layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
            .add(org.jdesktop.layout.GroupLayout.TRAILING, layout.createSequentialGroup()
                .addContainerGap()
                .add(jTabbedPane1, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 522, Short.MAX_VALUE)
                .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
                .add(btn_Cancel, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                .addContainerGap())
        );
    }// </editor-fold>//GEN-END:initComponents

    private void btn_CancelActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btn_CancelActionPerformed
        PanelSwapper.swap(EditorMain.p_defaultAdminPanel, this);
    }//GEN-LAST:event_btn_CancelActionPerformed
    
    
    // Variables declaration - do not modify//GEN-BEGIN:variables
    private javax.swing.JButton btn_Cancel;
    private javax.swing.JButton jButton1;
    private javax.swing.JButton jButton2;
    private javax.swing.JButton jButton3;
    private javax.swing.JButton jButton4;
    private javax.swing.JButton jButton5;
    private javax.swing.JButton jButton6;
    private javax.swing.JButton jButton7;
    private javax.swing.JMenuItem jMenuItem1;
    private javax.swing.JMenuItem jMenuItem2;
    private javax.swing.JPanel jPanel1;
    private javax.swing.JPanel jPanel2;
    private javax.swing.JPanel jPanel3;
    private javax.swing.JPopupMenu jPopupMenu1;
    private javax.swing.JScrollPane jScrollPane1;
    private javax.swing.JScrollPane jScrollPane10;
    private javax.swing.JScrollPane jScrollPane11;
    private javax.swing.JScrollPane jScrollPane12;
    private javax.swing.JScrollPane jScrollPane13;
    private javax.swing.JScrollPane jScrollPane14;
    private javax.swing.JScrollPane jScrollPane15;
    private javax.swing.JScrollPane jScrollPane16;
    private javax.swing.JScrollPane jScrollPane17;
    private javax.swing.JScrollPane jScrollPane18;
    private javax.swing.JScrollPane jScrollPane19;
    private javax.swing.JScrollPane jScrollPane2;
    private javax.swing.JScrollPane jScrollPane20;
    private javax.swing.JScrollPane jScrollPane21;
    private javax.swing.JScrollPane jScrollPane22;
    private javax.swing.JScrollPane jScrollPane23;
    private javax.swing.JScrollPane jScrollPane24;
    private javax.swing.JScrollPane jScrollPane25;
    private javax.swing.JScrollPane jScrollPane26;
    private javax.swing.JScrollPane jScrollPane27;
    private javax.swing.JScrollPane jScrollPane28;
    private javax.swing.JScrollPane jScrollPane29;
    private javax.swing.JScrollPane jScrollPane3;
    private javax.swing.JScrollPane jScrollPane30;
    private javax.swing.JScrollPane jScrollPane31;
    private javax.swing.JScrollPane jScrollPane32;
    private javax.swing.JScrollPane jScrollPane33;
    private javax.swing.JScrollPane jScrollPane34;
    private javax.swing.JScrollPane jScrollPane4;
    private javax.swing.JScrollPane jScrollPane5;
    private javax.swing.JScrollPane jScrollPane6;
    private javax.swing.JScrollPane jScrollPane7;
    private javax.swing.JScrollPane jScrollPane8;
    private javax.swing.JScrollPane jScrollPane9;
    private javax.swing.JSplitPane jSplitPane1;
    private javax.swing.JSplitPane jSplitPane10;
    private javax.swing.JSplitPane jSplitPane11;
    private javax.swing.JSplitPane jSplitPane12;
    private javax.swing.JSplitPane jSplitPane13;
    private javax.swing.JSplitPane jSplitPane14;
    private javax.swing.JSplitPane jSplitPane15;
    private javax.swing.JSplitPane jSplitPane16;
    private javax.swing.JSplitPane jSplitPane17;
    private javax.swing.JSplitPane jSplitPane2;
    private javax.swing.JSplitPane jSplitPane3;
    private javax.swing.JSplitPane jSplitPane4;
    private javax.swing.JSplitPane jSplitPane5;
    private javax.swing.JSplitPane jSplitPane6;
    private javax.swing.JSplitPane jSplitPane7;
    private javax.swing.JSplitPane jSplitPane8;
    private javax.swing.JSplitPane jSplitPane9;
    private javax.swing.JTabbedPane jTabbedPane1;
    private javax.swing.JTabbedPane jTabbedPane2;
    private javax.swing.JTabbedPane jTabbedPane3;
    private javax.swing.JTabbedPane jTabbedPane4;
    private javax.swing.JTable jTable1;
    private javax.swing.JTable jTable10;
    private javax.swing.JTable jTable11;
    private javax.swing.JTable jTable12;
    private javax.swing.JTable jTable13;
    private javax.swing.JTable jTable14;
    private javax.swing.JTable jTable15;
    private javax.swing.JTable jTable16;
    private javax.swing.JTable jTable17;
    private javax.swing.JTable jTable2;
    private javax.swing.JTable jTable3;
    private javax.swing.JTable jTable4;
    private javax.swing.JTable jTable5;
    private javax.swing.JTable jTable6;
    private javax.swing.JTable jTable7;
    private javax.swing.JTable jTable8;
    private javax.swing.JTable jTable9;
    private javax.swing.JTextPane jTextPane1;
    private javax.swing.JTextPane jTextPane10;
    private javax.swing.JTextPane jTextPane11;
    private javax.swing.JTextPane jTextPane12;
    private javax.swing.JTextPane jTextPane13;
    private javax.swing.JTextPane jTextPane14;
    private javax.swing.JTextPane jTextPane15;
    private javax.swing.JTextPane jTextPane16;
    private javax.swing.JTextPane jTextPane17;
    private javax.swing.JTextPane jTextPane2;
    private javax.swing.JTextPane jTextPane3;
    private javax.swing.JTextPane jTextPane4;
    private javax.swing.JTextPane jTextPane5;
    private javax.swing.JTextPane jTextPane6;
    private javax.swing.JTextPane jTextPane7;
    private javax.swing.JTextPane jTextPane8;
    private javax.swing.JTextPane jTextPane9;
    private javax.swing.JPanel pnl_Ammo;
    private javax.swing.JPanel pnl_ClothingArmor;
    private javax.swing.JPanel pnl_Consume;
    private javax.swing.JPanel pnl_Jewelry;
    private javax.swing.JPanel pnl_Weapons;
    // End of variables declaration//GEN-END:variables
    
}
